import Vue from 'vue/dist/vue.js';
import '../css/index.scss'

new Vue({
    el: "#app",
    name: 'App',
    data() {
        return {
            msg: '珠峰培训',
            theme: 'default',
            show: true,
            books:[
                {icn:'icon-beixin_2',name: '背心'},
                {icn:'icon-gaogenxie_1',name:'高跟鞋'},
                {icn:'icon-Txu_2',name:'T恤'},
                {icn:'icon-beibao_1',name: '背包'},
                {icn:'icon-banxie_1',name:'背心'},
                {icn:'icon-weiyi_2',name:'卫衣'},
                {icn:'icon-lianyiqun_2',name: '连衣裙'},
                {icn:'icon-fengyi_1',name:'风衣'},
                {icn:'icon-chaoduanqun',name:'超短裙'}
            ],
            flexs:[
                {icn:'icon-zhanghu',name: '账户'},
                {icn:'icon-fenlei',name: '分类'},
                {icn:'icon-gouwuche',name: '购物车'},
                {icn:'icon-wode',name: '我的'}
            ]
        }
    },
    computed: {
        themeClass() {
            return `theme-${this.theme}`
        }
    },
    methods: {
        handleClick: function () {
            this.show = !this.show
        }
    }
})